package com.qihetimes.earthangel.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qihetimes.earthangel.model.Goods;
import com.qihetimes.earthangel.model.GoodsComment;
import com.qihetimes.earthangel.model.bo.GoodsBO;
import com.qihetimes.earthangel.model.bo.GoodsCommentBO;
import com.qihetimes.earthangel.model.bo.GoodsListBO;
import com.qihetimes.earthangel.model.vo.GoodsVO;
import com.qihetimes.earthangel.model.vo.PageVO;

/**
 * <p>
 * 物品表 服务类
 * </p>
 *
 * @author f4cklangzi@gmail.com
 * @since 2021-12-11
 */
public interface IGoodsService extends IService<Goods> {
    
    GoodsVO upload(GoodsBO param);
    
    PageVO<GoodsVO> list(GoodsListBO param);
    
    GoodsVO update(GoodsBO param);
    
    void delete(String goodsId);
    
    void like(String goodsId);
    
    GoodsComment comment(GoodsCommentBO param);
    
    void favorite(String goodsId);
    
    void send(String goodsId, String userId);
    
    void share(String goodsId);
}
